package middol.notice

import grails.util.Holders
import groovy.transform.CompileStatic

/**
* @Description:    通知实现类容器
* @Author:         zhangjiayu@middol.com
* @CreateDate:     2020/10/22 10:24
* @Version:        1.0
*/
@CompileStatic
class NoticeHandlerContainer {
    static Map<String, INoticeHandler> getNoticeHandlerMap(){
        Map<String, INoticeHandler> noticeHandlerMap = Holders.applicationContext.getBeansOfType(INoticeHandler.class)
        return noticeHandlerMap
    }
}
